﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <script>
        //let num = prompt('今天撸几把');
        //for (var i = 0; i < num; i++) {
        //    console.log('今晚吃鸡');
        //}
        //for (var i = 0; i < 100; i++) {
        //    if (i<6) {
        //        console.log( '今年张三'+i+'岁了，上小学了');
        //    } else {
        //        console.log('今年张三' + i + '岁了，工作了了');
        //    }
        //}
        for (var i = 10; i > 0; i--) {
            console.log(i);
        }
    </script>
</body>
</html>